/*
  Copyright 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  KimNgan Project.
*/
using System;
using System.Data;
using System.Configuration;
using System.Collections;

using DOAN.DAL;
using DOAN.DO;
/// <summary>
/// Summary description for DethiBL
/// </summary>
namespace DOAN.BL 
{
    public class DethiBL 
    {
    	#region Private Variables
		DethiDAL objDethiDAL;
		#endregion
		
        #region Public Constructors
        public DethiBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objDethiDAL=new DethiDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(DethiDO objDethiDO)
        {
            return objDethiDAL.Insert(objDethiDO);
        }

        public int Update(DethiDO objDethiDO)
        {
             return objDethiDAL.Update(objDethiDO);

        }

        public DataTable GetByMonAndUser(string suser, string mamon)
        {
            return objDethiDAL.GetByMonAndUser(suser, mamon);
        }

        public DataTable GetByMon(string mamon)
        {
            return objDethiDAL.GetByMon(mamon);
        }

        public int Delete(DethiDO objDethiDO)
        {
             return objDethiDAL.Delete(objDethiDO);

        }

         public int DeleteAll()
        {
             return objDethiDAL.DeleteAll();
        }

        public DethiDO Select(DethiDO objDethiDO)
        {
            return objDethiDAL.Select(objDethiDO);
        }

        public DethiDO SelectDeThi(DethiDO objDethiDO, string Tentaikhoan)
        {
            return objDethiDAL.SelectDeThi(objDethiDO, Tentaikhoan);
        }

        public ArrayList SelectAll1( )
        {
         return objDethiDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objDethiDAL.SelectAll();
        }


     
#endregion          
    
    }

}
